package com.tloss.bean;

import com.tloss.stdao.Profit;
import com.tloss.stdao.service.ProfitService;

public class ProfitBean {
	ProfitService profitService;
	String username;
	public ProfitBean() {
		profitService = new ProfitService();
		
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Profit getProfit() {
		return  profitService.select(username);
	}
}
